#ifndef INFINITY_ITEM_CHEST_ENTITY_H
#	define INFINITY_ITEM_CHEST_ENTITY_H

#include "itementity.h"
#include "container.h"
#include "inventaire.h"



namespace infinity {

	class ItemChestEntity
		:	public ItemEntity
	{

	public : //! @name Types definitions
		//! @{
		typedef ItemEntity super;
		//! @}

	public : //! @name Entity Commands
		//! @{
		virtual void renderDebug();
		//! @}

	public : //! @name Setup
		//! @{
	
		virtual type getType() const { return Type_Item_chest;  }

		// fct
		virtual void leftClick();
		virtual void rightClick();

		//! @}

	protected : //! @name Construction & Destruction
		//! @{
		friend class ServiceEntity;

		ItemChestEntity();
		virtual ~ItemChestEntity();


		Container * m_pContainer;
		render::Inventaire * m_pInventaire;

		bool m_open;
		//! @}

	};

} // namespace infinity

#endif // !INFINITY_ITEM_CHEST_ENTITY_H
